<%-- 
    Document   : CreateProductForm
    Created on : 31 mai 2012, 12:11:39
    Author     : isen
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Create a product</title>
    </head>
    <body>

    <center>

        <%if (request.getAttribute("resultado") != null) {%>
        <p><%= request.getAttribute("resultado")%></p>
        <% }%>

        <h1> Create a new product! Please fill in this form:</h1><br>
        <form action="/MyFrontController"><input name="form" value="createProductServlet" type="hidden">
            Name: <input type="text" name="ProductName" value="" size="20" /><br>
            Sotck: <input type="text" name="Stock" value="" size="20" /><br>
            Short descripcton: <textarea name="ShortDescription" rows="4" cols="20">
            </textarea><br>
            Long description: <textarea name="LongDescription" rows="6" cols="24">
            </textarea><br>       
            Price(for one): <input type="text" name="ProductPrice" value="" size="20" /><br>
            <input type="submit" value="Create" name="create" />
        </form>
    </center>

<%@include file="/WEB-INF/include/menuAdministrador.jsp" %>

</body>
</html>
